insheet using bdi_s.csv, clear

gen age93=dm2-14
svyset [pw=pweight]

*Civilian Hutu Sample Means
svy: mean age93 dm11 dm12 if dm1==0 & dm2>26 & dm2<57 & exrebel==0
*Ex-Combatant Hutu Sample Means
svy: mean age93 dm11 dm12 if dm1==0 & dm2>26 & dm2<57 & exrebel==1
* Hutu SDs and Min/Max
tabstat age93 dm11 dm12 if dm1==0 & dm2>26 & dm2<57, by(exrebel) statistics(min max sd)

*Tutsi Sample
insheet using bdi_ed_tutsi.csv, clear
svyset [pw=pweight]
gen age93=dm2-14
svy: mean age93 dm11 dm12 if dm1==0 & dm2>26 & dm2<57 
tabstat age93 dm11 dm12 if dm1==0 & dm2>26 & dm2<57, statistics(min max sd)
